<?php

// 首页和SSO回调
\Webman\Route::get('/', [app\controller\IndexController::class, 'index']);
\Webman\Route::get('/callback', [app\controller\IndexController::class, 'callback']);

// 表单提交API
\Webman\Route::post('/api/submit', [app\controller\ApiController::class, 'submit']);

// 关闭默认路由
\Webman\Route::disableDefaultRoute(); 